package com.rmb.mart.entity.linxi.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rmb.mart.entity.linxi.RmbSystemOperationLog;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author wan
 * @Title: RmbSystemOperationLogVo
 * @Package vo
 * @Description: wan
 * @date 2021/1/2119:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RmbSystemOperationLogVo extends RmbSystemOperationLog {

    /**
     * 页数
     */
    private int page;

    /**
     * 每页显示数
     */
    private int size;

    /**
     * 开始时间区间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间区间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
